home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 132 (Alt)
/
Vol 132.iso
/
games
/
pupworld.swf
/
scripts
/
__Packages
/
pi
/
Cursor.as
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2011-06-09
|
337 b
|
20 lines
class pi.Cursor extends MovieClip
{
var state;
function Cursor()
{
super();
this.state = "normal";
Mouse.hide();
this.startDrag(true);
}
function setState(newState)
{
this.state = newState;
}
function onEnterFrame()
{
this.gotoAndPlay(this.state);
}
}